package com.hhs.storage.service;

import com.hhs.storage.bean.UserFollowList;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hhs
 * @since 2023-03-10
 */
public interface UserFollowListService extends IService<UserFollowList> {
    public Map<String,Object> add(String followUserId,String groupId);

    /**
     * 批量关注
     * @param followUserIds
     * @return
     */
    public Map<String,Object> addAll(String followUserIds,String groupId);
    /**
     * 根据关注人id删除关注
     * @param followUserId
     * @return
     */
    public Map<String,Object> removeByFollowUserId(String followUserId,String groupId);

    /**
     * 根据关注人id批量删除关注
     * @param followUserIds
     * @return
     */
    public Map<String,Object> removeAllByFollowUserId(String followUserIds,String groupId);
    /**
     * 删除关注
     * @param id
     * @return
     */
    public Map<String,Object> removeById(String id);

    /**
     * 查询所有关注人信息
     * @return
     */
    public Map<String,Object> getAll(String groupId);
}
